import java.util.regex.Pattern;

public class checkPhone {

    public static void main(String[] args) {
        String phonePattern = "^1[3|4|5|7|8][0-9]{9}$";
        // 手机号判断
        if (!Pattern.matches(phonePattern, "13450739360")) {
            System.out.println(false);
        } else {
            System.out.println(true);
        }

    }
}
